// This file is part of ohos-weather.
// Copyright (C) 2023  Tingjin<dev@peercat.cn>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.
export const StyleConstant = {
  LINER_GRADIENT_CONFIG: {
    CLOUDY: {
      angle: 180,
      colors: [
        ["#286098", 0],
        ["#6AA2DB", 1]
      ]
    },
    BOTTOM_BAR: {
      angle: 180,
      colors: [
        ["#ff4c85c4", 0],
        ["#ff5d99d6", 1]
      ]
    },
    BOTTOM_BAR_DARK: {
      angle: 180,
      colors: [
        ["#ff242424", 0],
        ["#ff2b2b2b", 1]
      ]
    }
  },
  IMMERSIVE_CONFIG: {
    INDEX: {
      barColor: "#00286098",
      contentColor: "#ffffff",
      navigationColor: "#005d99d6",
      navigatorColor: "#ffffff"
    },
    ABOUT: {
      barColor: "#001f1f1f",
      contentColor: "#ffffff",
      navigationColor: "#001f1f1f",
      navigatorColor: "#ffffff"
    },
    EDIT_PAGE: {
      barColor: "#001f1f1f",
      contentColor: "#ffffff",
      navigationColor: "#002b2b2b",
      navigatorColor: "#ffffff"
    },
    WEATHER_MAP: {
      barColor: "#00ffffff",
      contentColor: "#000000",
      navigationColor: "#00ffffff",
      navigatorColor: "#000000"
    }
  },
  DEFAULT_FONT_COLOR: "#FFFFFF",
  DEFAULT_FONT_SIZE: 17,
  SECONDARY_FONT_SIZE: 15,
  WIDGET_FONT_SIZE: 13,
  TEMP_FONT_SIZE: 100,
  TEMP_FONT_MARGIN: 17,
  DEFAULT_RADIUS: 23,
  DIVIDER_COLOR: "#2fffffff",
  FONT_SHADOW_COLOR: "#54626262",
  BOTTOM_BAR_HEIGHT: 100,
  BOTTOM_BAR_ROW_PADDING: {
    top: 13, right: 25, left: 25
  },
  INACTIVE_BOTTOM_INDICATOR_COLOR: "#66ffffff",
  PAGE_TITLE_FONT_SIZE: 37,
  PAGE_TITLE_FONT_SIZE_SECONDARY: 25,
  SEARCH_BACKGROUND: "#25ffffff",
  EDIT_MENU_BACKGROUND: "#ff4e4e4e",
  EDIT_MENU_WIDTH: 200,
  EDIT_MENU_RADIUS: 13,
  DEFAULT_PAGE_BACKGROUND_COLOR: "#ff1f1f1f",
  BOTTOM_BAR_BORDER: {
    width: { top: 0.5 },
    color: "#2fffffff"
  },
  EDIT_PAGE_LIST_PADDING: {
    bottom: 180
  },
  SwiperActionComponentMargin: {
    left: 64
  },
  ABOUT_PAGE_PADDING: {
    top: 64, bottom: 17, right: 17, left: 17
  },
  INDEX_PADDING: {
    top: 64
  },
  EDIT_PAGE_PADDING: {
    top: 32
  }
}